package provider

import "github.com/google/wire"

type X struct {
	Value int
}

func NewX() X {
	return X{Value: 7}
}

type Y struct {
	Value int
}

func NewY(x X) Y {
	return Y{
		Value: x.Value + 1,
	}
}

var Set = wire.NewSet(NewX, NewY)
